package com.zhumo.sz.entity.subway;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.checkerframework.checker.units.qual.A;

import java.sql.Time;
import java.sql.Timestamp;

/**
 * 地铁闸机 用于维度表扩充
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "地铁闸机",description = "地铁闸机属性表")
public class SubwayGateInfo {

    @ApiModelProperty("自增主键")
    private String id;

    @ApiModelProperty("闸机编码")
    private String gateCode;

    @ApiModelProperty("闸机组编码")
    private String gateGroupCode;

    @ApiModelProperty("是否支持一次性票")
    private boolean ifSupportOnceTicket;

    @ApiModelProperty("是否支持支付宝乘车码")
    private boolean ifSupportAliPay;

    @ApiModelProperty("地铁站站点编码")
    private String gateStationCode;

    @ApiModelProperty(value = "通向地铁出口")
    private String subwayExport;

    @ApiModelProperty(value = "建设公司名称")
    private String corporation;

    @ApiModelProperty(value = "投入使用时间")
    private Timestamp openTime;

    @ApiModelProperty(value = "检修周期")
    private String maintenanceCycle;

    @ApiModelProperty(value = "上次检修时间")
    private Timestamp LastMaintenanceTime;

    @ApiModelProperty(value = "创建时间")
    private Timestamp createTime;

    @ApiModelProperty(value = "更新时间")
    private Timestamp updateTime;
}
